package com.yunban.project.api.text_check.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * @author: lijiajun
 * @date: 2024-11-21
 * @version: 1.0
 */
@Data
@Schema(description = "纠错词典请求参数")
public class CorrectionDictReq implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "错误词句")
    @NotBlank(message = "错误词句不能为空")
    private String errorWord;

    @Schema(description = "正确词句")
    private String correctWord;

    @Schema(description = "来源")
    private String source;

}
